package cn.scxy.bookcity.mapper;

import cn.scxy.bookcity.pojo.entity.Notice;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeMapper {

    List<Notice> list();

    Notice getNoriceById(Integer id);

    int updateNotice(Notice notice);

    void delete(Long id);

    void insetNotice(Notice notice);
}
